package _09_abstract_factory_pattern.v1_0.factory.impl;

import _09_abstract_factory_pattern.v1_0.factory.HumanFactory;
import _09_abstract_factory_pattern.v1_0.human.Human;
import _09_abstract_factory_pattern.v1_0.human.impl.FemaleBlackHuman;
import _09_abstract_factory_pattern.v1_0.human.impl.FemaleWhiteHuman;
import _09_abstract_factory_pattern.v1_0.human.impl.FemaleYellowHuman;

public class FemaleFactory implements HumanFactory {
	//生产出黑人女性
	@Override
	public Human createBlackHuman() {
		return new FemaleBlackHuman();
	}

	//生产出白人女性
	@Override
	public Human createWhiteHuman() {
		return new FemaleWhiteHuman();
	}

	//生产出黄人女性
	@Override
	public Human createYellowHuman() {
		return new FemaleYellowHuman();
	}
}